/* pages/cockpit/cockpit.wxss */
page {
  background-color: #f4f7fb;
}

.cockpit {
  padding-bottom: calc(env(safe-area-inset-bottom) + 136rpx);

  .bg {
    width: 100%;
    height: 421px;
    position: absolute;
    top: 0;
    z-index: -1;
    background: url(https://lmding.oss-cn-hangzhou.aliyuncs.com/FireFighting/image/cockpitBg.png);
    background-size: 100%;
    background-repeat: no-repeat;
  }

  .nav-title {
    --td-navbar-title-font-size: 30rpx;

    .t-navbar__content {
      background-color: unset;
      background-image: url(https://lmding.oss-cn-hangzhou.aliyuncs.com/FireFighting/image/cockpitBg.png);
      background-size: 100%;
      background-repeat: no-repeat;
      color: #ffffff;
    }
  }

  .info {
    padding: 32rpx;

    .name {
      color: #FFF;
      font-family: PingFang SC;
      font-size: 40rpx;
      font-style: normal;
      font-weight: 600;
      margin-bottom: 8rpx;
    }

    .tags {
      display: flex;

      .item-tag {
        color: #FFF;
        font-family: PingFang SC;
        font-size: 24rpx;
        font-style: normal;
        font-weight: 400;
        padding: 0 8rpx;
        border-radius: 2px;
        border: 0.5px solid #FFF;
        margin-right: 8rpx;
      }
    }

    .card-case {
      margin-top: 32rpx;
      width: 100%;
      box-sizing: border-box;
      padding: 16rpx;
      border-radius: 24rpx;
      border: 1px solid rgba(255, 255, 255, 0.21);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.30) 100%);

      .title {
        color: #FFF;
        font-family: PingFang SC;
        font-size: 28rpx;
        font-style: normal;
        font-weight: 600;
      }

      .caseBox {
        background-color: #fff;
        padding: 0 16rpx;
        margin-top: 16rpx;
        border-bottom-left-radius: 18rpx;
        border-bottom-right-radius: 18rpx;
        height: 270rpx;
        overflow-y: scroll;

        .caseItem {
          display: flex;
          align-items: center;
          padding: 24rpx 0;
          border-bottom: 1px solid #E7E7E7;

          .one {
            color: #F90;
            font-family: PingFang SC;
            font-size: 28rpx;
            font-style: normal;
            font-weight: 600;
          }

          .two {
            color: #333;
            font-family: PingFang SC;
            font-size: 28rpx;
            font-style: normal;
            font-weight: 400;
            width: 245px;
            overflow: hidden;
            text-overflow: ellipsis;
            word-break: break-all;
            white-space: nowrap;
            margin-right: 6rpx;
          }
        }
      }
    }
  }


  .bottom-container {
    .my-tabs {
      margin-top: 18rpx;

      .my-track {
        width: 60rpx;
      }

      .t-tabs {
        border-radius: 30px 30px 0px 0px;
        background-color: pink;
      }

      .t-tabs__wrapper {
        border-radius: 30px 30px 0px 0px;
      }

    }

  }

  .content {
    padding: 32rpx;

    .collet-card {
      width: 100%;
      box-sizing: border-box;
      padding: 16rpx;
      background-color: #fff;
      border-radius: 16rpx;

      .total {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 8rpx;
        margin-bottom: 24rpx;


        .text {
          color: #333;
          font-family: PingFang SC;
          font-size: 28rpx;
          font-style: normal;
          font-weight: 400;
        }

        .num {
          color: #333;
          font-family: Arial;
          font-size: 40rpx;
          font-style: normal;
          font-weight: 700;
        }
      }

      .types {
        display: flex;
        justify-content: space-between;

        .type-item {
          width: 206rpx;
          box-sizing: border-box;
          padding: 16rpx;
          background-color: rgba(12, 77, 249, .05);
          border-radius: 4px;
          color: #0C4DF9;

          .top {
            display: flex;
            justify-content: space-between;

            .l-num {
              font-family: Arial;
              font-size: 40rpx;
              font-style: normal;
              font-weight: 700;
            }
          }

          .bottom-text {
            margin-top: 6rpx;
            font-family: PingFang SC;
            font-size: 24rpx;
            font-style: normal;
            font-weight: 400;
          }
        }
      }


    }

    .unqualified {
      width: 100%;
      border-radius: 8px;
      background: linear-gradient(180deg, #FFEAEA 0%, #FFF1F1 100%);
      margin-top: 32rpx;
      box-sizing: border-box;
      padding: 24rpx;

      .title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 8rpx;

        .l-title {
          display: flex;
          align-items: center;

          .line {
            width: 4px;
            height: 16px;
            border-radius: 7px;
            background: #F53F3F;
            margin-right: 8rpx;
          }

          .text {
            color: #333;
            font-family: PingFang SC;
            font-size: 28rpx;
            font-style: normal;
            font-weight: 400;
          }
        }
      }

      .un-card {
        background-color: #fff;
        padding: 24rpx;
        border-radius: 8px;
        display: flex;
        margin-bottom: 16rpx;
        &:nth-last-child(1) {
          margin-bottom: 0;
        }

        .r-info {
          margin-left: 16rpx;

          .title {
            color: #333;
            font-family: PingFang SC;
            font-size: 28rpx;
            font-style: normal;
            font-weight: 400;
            margin-bottom: 8rpx;
          }

          .row {
            color: #666;
            font-family: PingFang SC;
            font-size: 24rpx;
            font-style: normal;
            font-weight: 400;
            margin-top: 4rpx;
          }
        }
      }
    }

    .static-card {
      width: 100%;
      box-sizing: border-box;
      padding: 32rpx 0;
      background-color: #fff;
      margin-top: 32rpx;
      border-radius: 16rpx;

      .topTitle {
        padding: 0 32rpx;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 32rpx;

        .title {
          color: #333;
          font-family: PingFang SC;
          font-size: 28rpx;
          font-style: normal;
          font-weight: 400;
        }

        .chooseTime {
          display: flex;
          align-items: center;

          .text {
            color: #333;
            font-family: PingFang SC;
            font-size: 28rpx;
            font-style: normal;
            font-weight: 400;
            margin-right: 16rpx;
          }
        }
      }

      .line {
        width: 100%;
        height: 20rpx;
        background: linear-gradient(180deg, #F1F7FF 0%, rgba(241, 247, 255, 0.00) 100%);
      }

      .chart-box {
        box-sizing: border-box;
        padding: 32rpx;
        padding-bottom: 0;
        background-color: #fff;

        .topChart {
          border-bottom: 1px solid #E7E7E7;
          display: flex;
          justify-content: space-between;

          // align-items: center;
          .l-chart {
            margin-bottom: 32rpx;
            width: 256rpx;
            height: 256rpx;
            // background-color: pink;

            ec-canvas {
              width: 100%;
              height: 100%;
            }
          }

          .r-sign {
            .sign-item {
              color: #30C252;
              width: 280rpx;
              background-color: rgba(0, 180, 42, .06);
              border-radius: 4px;
              padding: 12rpx 18rpx 12rpx 28rpx;
              display: flex;
              align-items: center;
              justify-content: space-between;
              margin-bottom: 24rpx;

              .left {
                display: flex;
                align-items: center;

                .circle {
                  width: 16rpx;
                  height: 16rpx;
                  background-color: #00B42A;
                  border-radius: 50%;
                  margin-right: 8rpx;
                }

                .text {
                  color: #333;
                  font-family: PingFang SC;
                  font-size: 28rpx;
                  font-style: normal;
                  font-weight: 400;
                }
              }

              .right {
                font-family: PingFang SC;
                font-style: normal;

                .num {
                  font-size: 16px;
                  font-weight: 600;
                }

                .text {
                  font-size: 28rpx;
                  font-weight: 400;
                }
              }
            }
          }
        }

        .bottomChart {
          padding-top: 32rpx;
          display: flex;
          justify-content: space-between;

          .l-info {
            .text {
              color: #333;
              font-family: PingFang SC;
              font-size: 28rpx;
              font-style: normal;
              font-weight: 400;
            }

            .num {
              color: #00B42A;
              font-family: PingFang SC;
              font-size: 32rpx;
              font-style: normal;
              margin-top: 8rpx;

              .name {
                font-size: 28rpx;
                font-weight: 600;
              }

              .amount {
                font-weight: 600;
              }
            }
          }

          .r-charts {
            width: 120rpx;
            height: 120rpx;
            // background-color: pink;

            ec-canvas {
              width: 100%;
              height: 100%;
            }
          }
        }

      }
    }
  }


}